:: 使用 “@echo off” 关闭命令执行时的输出
:: rem 和 "::" 注释语句
:: FOR /R /path/to/dir %%循环变量 IN (文件通配符) DO (
::      命令
:: )
:: 
@echo off & setlocal EnableDelayedExpansion

:: 记录当前目录
set PRO_PATH=!cd!

call :loop_recurse !PRO_PATH!

:loop_recurse
FOR /R %1 %%i IN (*) DO (
    echo %%i
    7z x %%i -ppassword -oout_dir
)

pause
